package org.nlp2rdf.navigator.benchmark;

import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;
import org.apache.commons.collections15.Transformer;

/**
 * Created by Claus Stadler
 * Date: Oct 15, 2010
 * Time: 4:58:52 PM
 */
public class StringToResourceTransformer
    implements Transformer<String, Resource>
{
    @Override
    public Resource transform(String s) {
        return ResourceFactory.createResource(s);
    }
}
